package ModelLayer;

public class Product {

	private String pName;
	private double pPrice;
	private double sPrice;
	private double rPrice;
	private String origin;
	private int minStock;
	private int curentStock;
	private Supplier supplier;
	private int id;

	public Product(String pName, double pPrice, double sPrice, double rPrice,
			String origin, int minStock, int curentStock, Supplier supplier,
			int id) {
		super();
		this.pName = pName;
		this.pPrice = pPrice;
		this.sPrice = sPrice;
		this.rPrice = rPrice;
		this.origin = origin;
		this.minStock = minStock;
		this.curentStock = curentStock;
		this.supplier = supplier;
		this.id = id;
	}

	public Product(int id) {
		this.id = id;
	}

	public Product() {
	};

	public double getpPrice() {
		return pPrice;
	}

	public void setpPrice(double pPrice) {
		this.pPrice = pPrice;
	}

	public double getsPrice() {
		return sPrice;
	}

	public void setsPrice(double sPrice) {
		this.sPrice = sPrice;
	}

	public double getrPrice() {
		return rPrice;
	}

	public void setrPrice(double rPrice) {
		this.rPrice = rPrice;
	}

	public String getpName() {
		return pName;
	}

	public void setpName(String pName) {
		this.pName = pName;
	}

	public int getCurentStock() {
		return curentStock;
	}

	public void setCurentStock(int curentStock) {
		this.curentStock = curentStock;
	}

	public Supplier getSupplier() {
		return supplier;
	}

	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getMinStock() {
		return minStock;
	}

	public void setMinStock(int minStock) {
		this.minStock = minStock;
	}

	public String getOrigin() {
		return origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

}// end class
